import React,{Component} from 'react'

function Card(props){
	console.log(props,'63')
	let { style,children,name} = props ;
	return(
		<div  className="showMc">
		<div style={{fontSize:style.fontSize,color:style.color }}>hello Card </div>
		{children}
		<p>my name is : {name}</p>
		</div>
	)
}
export default class Header extends Component {
	render(){
		return(
		<>
			<Card style={{fontSize:'20px',color:'#f00'}}  name="John"  person={{name:'KK',age:30,hobby:['体育运动','棋牌','可乐']}}>
				<h5>123456</h5>
				<p>this is p detail</p>
			</Card>
		</>	
		)
	}
}